package com.bdcom.model;

import java.awt.Graphics2D;
import java.awt.Point;

public interface IDevice {
	//绘制设备
	void drawDevice(Graphics2D g,boolean selected)throws Exception;
	//判断一个点是否在设备上
	boolean containsPoint(Point point);

}
